# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(LineEdit)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Line_SRCS linePlugin.cpp)
QT4_WRAP_CPP(Line_SRCS linePlugin.h)

add_library(LineEdit SHARED ${Line_SRCS})
add_dependencies(LineEdit KontAMabil)
link_directories("${CMAKE_SOURCE_DIR}/libs")
target_link_libraries(LineEdit KontAMabil ${QT_LIBRARIES})

install(TARGETS LineEdit DESTINATION "${QT_PLUGINS_DIR}/designer" LIBRARY)
install(TARGETS LineEdit ${INSTALL_DESIGNER_PLUGINS_DEFAULT_ARGS} )

